package com.yelobblog.yelobblog.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//CREATE TABLE IF NOT EXISTS commentLikes (
//        commentId BIGINT NOT NULL,
//        userId BIGINT NOT NULL,
//        PRIMARY KEY (commentId, userId),
//FOREIGN KEY (commentId) REFERENCES comments(id) ON DELETE CASCADE,
//FOREIGN KEY (userId) REFERENCES user(id) ON DELETE CASCADE
//    ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class commentLikes {
    private Integer commentId;
    private Integer userId;
}
